/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #121212;
    color: #fff;
    line-height: 1.6;
}

/* 整体布局 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 页头 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.logo svg {
    width: 150px;
    height: 50px;
}

.steps {
    display: flex;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.step.active .step-number {
    background-color: #1DB954;
}

.step-line {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 0 10px;
}

/* 主内容区 */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* 左侧支付选项 */
.payment-options {
    flex: 1;
    min-width: 300px;
}

.options-title {
    font-size: 24px;
    margin-bottom: 20px;
}

.payment-method {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border: 2px solid transparent;
}

.payment-method.active {
    border-color: #1DB954;
}

.method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.method-icon i {
    font-size: 24px;
    color: #1DB954;
}

.method-text h3 {
    margin-bottom: 5px;
}

.method-text p {
    color: #aaa;
    font-size: 14px;
}

/* 支付详情 */
.payment-details {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

/* 微信/支付宝二维码 */
.qr-code {
    width: 200px;
    height: 200px;
    background-color: #282828;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.qr-code i {
    font-size: 48px;
    color: #1DB954;
    margin-bottom: 15px;
}

/* 卡片表单 */
.card-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: #282828;
    border: 1px solid #444;
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
}

.card-brands {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.card-brands i {
    font-size: 24px;
    color: #666;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* 订单摘要 */
.order-summary {
    width: 350px;
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
}

.summary-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.plan-box {
    background-color: #282828;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.plan-icon {
    width: 50px;
    height: 50px;
    background-color: #1DB954;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.plan-icon i {
    font-size: 24px;
    color: #fff;
}

.plan-info h3 {
    margin-bottom: 5px;
}

.price-details {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 15px 0;
    margin: 15px 0;
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 18px;
    margin: 20px 0;
}

.auto-renew {
    background-color: rgba(29, 185, 84, 0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.auto-renew i {
    color: #1DB954;
    margin-right: 10px;
}

.auto-renew p {
    color: #aaa;
    font-size: 14px;
}

.coupon-input {
    display: flex;
    margin: 20px 0;
}

.coupon-input input {
    flex: 1;
    padding: 12px;
    background-color: #282828;
    border: 1px solid #444;
    border-radius: 4px 0 0 4px;
    color: #fff;
}

.coupon-input button {
    padding: 12px 20px;
    background-color: #444;
    border: none;
    border-radius: 0 4px 4px 0;
    color: #fff;
    cursor: pointer;
}

.pay-button {
    width: 100%;
    padding: 14px;
    background-color: #1DB954;
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
}

.terms {
    text-align: center;
    color: #666;
    font-size: 12px;
}

.terms a {
    color: #1DB954;
    text-decoration: none;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .steps {
        margin-top: 20px;
        width: 100%;
        justify-content: space-between;
    }

    .step-line {
        width: 30px;
    }

    .order-summary {
        width: 100%;
        margin-top: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}